package com.iweb.day08;

/**
 * @author WuYongheng
 * @date 2021/11/10
 * @description
 */
public class Person {
    public Person() {
        System.out.println("执行Person()...");
    }
    public static int money = 500;
    public int id;

    static{
        System.out.println("执行static{}...");
        money+=500;
    }

    public static void main(String[] args) throws Exception {
        Class.forName("com.iweb.Person");
        new Person();
        System.out.println(Person.money);
    }

}
